#include "../common/Common.h"

class SceneTester
{
public:
    void Init();
    
    void KeyPress(unsigned char key);
    void MouseDown(int button, int x, int y);
    void MouseMove(int x, int y);
    void ReSize(int windowWidth, int windowHeight);
    void Update(float seconds);
    void Render();

	void SimpleScreenshot(const std::string &outputFile, int _windowHeight, int _windowWidth);

private:
	// SceneId's range from 1 to _numScenes
	int _currentSceneId;

	// ModelIndex starts at 0 (the room)
	int _currentModelIndex;

	int _numScenes;
	map<int, string> _idToSceneName;
	string GetSceneName(int sceneId);
	Scene& GetScene(int sceneId);
	string GetScreenshotName();

	// Data for ALL scenes
    CommonSceneParameters _params;

	SceneData _sceneData;
	void LoadScenes(const string &filename, CommonSceneParameters &params);
};
